/// 个人信息数据结构

class UserInfo {
  int id;
  String userAccount;
  String password;

  UserInfo({this.id, this.userAccount, this.password});

  UserInfo.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userAccount = json['userAccount'];
    password = json['password'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['userAccount'] = this.userAccount;
    data['password'] = this.password;
    return data;
  }
}